// 游戏数据
// 

var GameData = cc.Class({
    extends: cc.Component,

    statics:{
        instance: null,
    },

    properties: {

        score: 0,
        depth: 0,
    },

    reset() {
        this.score = 0;
        this.depth = 0;
    },
    
});

GameData.instance = new GameData();

exports = module.exports = GameData;

